package edu.sctu.practice.class02.shuqiqi;

/**
 * Created by shuqi on 2015/9/18.
 */
public class Dog {
    public int age = 10;
    public String color = "红色";
    public String name = "小黄";
    public int number = 5;
    public String sex = "公";

    public boolean confirm() {
        if (age > 5) {
            return true;
        }
        return false;
    }

    public void printColor() {
        System.out.println("颜色是: " + color);
    }

    public void printNumbr() {
        System.out.println("数字是: " + number);

    }

    public void printNumber() {
        System.out.println("性别是: " + sex);

    }

    public void printSex() {
        System.out.println("年龄是:" + sex);

    }

    public void printName() {
        System.out.println("姓名是:" + name);
    }

}
